package com.ukee.birthday.modules.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ukee.birthday.modules.entity.StaffEntity;
import com.ukee.birthday.modules.entity.SysUserEntity;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface StaffDao extends BaseMapper<StaffEntity> {

    /**
     * 根据用户名，查询用户
     */
    StaffEntity queryByUserName(String username);

    StaffEntity queryByTel(String tel);

}
